<?php
session_start();

if(!isset($_SESSION['logged']))
	require('connexion.php');
else {
	require(dirname(__FILE__).'/config/config.inc.php');
	Dispatcher::getInstance()->dispatch();
}

?>